<template>
  <mt-header title="vue">
    <router-link to="/" slot="left">
      <mt-button icon="back">返回</mt-button>
    </router-link>
    <mt-button icon="more" slot="right"></mt-button>
  </mt-header>
</template>

<script>
  import Vue from 'vue';
  import { Header } from 'mint-ui';
  import 'mint-ui/lib/style.css'
  Vue.component(Header.name, Header);
  export default {
    data: function () {
      return {
        msg: "我来组成头部"
      }
    }
  }
</script>

<style scoped>

</style>
